package com.oba.base.service;

import com.oba.base.interfaces.IBaseBo;

public abstract class BaseBo extends BaseCheckBo implements IBaseBo,java.io.Serializable {
	
	private boolean newBo = false;
	 
	public boolean isNewBo() {
		return newBo;
	}

	public void setNewBo(boolean newBo) {
		this.newBo = newBo;
	}
	
	@Override
	public boolean equals(Object obj) {
		if (obj == null || obj.getClass() == String.class)
			return false;
		IBaseBo bo = (IBaseBo) obj;
		if (getId() == null || bo.getId() == null)
			return false;
		return bo.getId().equals(getId());
	}
	
}
